package cn.juque.datapipeline.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author JUQUE
 * @version 1.0.0
 * <ul>
 *  <li>simple-generator</li>
 *  <li>任务组关系</li>
 * </ul>
 * {@code @date} 2023-04-03 09:58:43
 **/
@Data
@TableName(value = "DB_TASK_GROUP_RELATION")
public class TaskGroupRelation extends BaseEntity {

    /**
     * 主键
     */
    @TableId(value = "ID", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 任务组ID,
     */
    @TableField(value = "TASK_GROUP_ID")
    private String taskGroupId;

    /**
     * 任务ID
     */
    @TableField(value = "TASK_ID")
    private String taskId;

    /**
     * 排序号
     */
    @TableField(value = "SORT_NO")
    private Integer sortNo;

}
